<template>
    <div id="take-address">
        <div class="take-address" @click="$emit('click')">
            <template v-if="value === ''">
                <span class="placeholder">选择收货地址</span>
            </template>
            <template v-else>{{value}}</template>
        </div>
    </div>
</template>

<script>
    export default {
        name: "take-address",
        props:{
            value:{
                type:String,
                value:''
            }
        }
    }
</script>

<style scoped lang="less" src="./address.less"></style>
